package com.czwj.entities;

import java.util.Date;

public class Notice {
    private Integer id;

    private Integer targetid;

    private Integer type;

    private String content;

    private Integer status;

    private Date createdate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTargetid() {
        return targetid;
    }

    public void setTargetid(Integer targetid) {
        this.targetid = targetid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

	public Notice(Integer targetid, Integer type, String content, Integer status, Date createdate) {
		super();
		this.targetid = targetid;
		this.type = type;
		this.content = content;
		this.status = status;
		this.createdate = createdate;
	}

	public Notice() {
		super();
		// TODO Auto-generated constructor stub
	}
    
    
}